import requests from "./requests";

//发布书籍
export const publishedBooks = (bookInfo) => {
  return requests({
    method: "POST",
    url: "/api/publishBook",
    data: {
      ...bookInfo,
    },
  });
};